package StudyCode.summary.Basic;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class DoubleCastInt {
	public static void main(String[] args) {
		double pi = 3.1314;
		int result = (int) pi;
		System.out.println("强制类型转换前:" + pi);
		System.out.println("强制类型转换后:" + result);
	}
}
